<%--
  Created by IntelliJ IDEA.
  User: Mr.Li
  Date: 2021/1/5
  Time: 19:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>修改信息</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/update" method="post">
    <table align="center" border="1">
        <tr>
            <td colspan="20"><h1>修改用户信息</h1></td>
        </tr>
        <input type="hidden" name="id" value="${dev_User.id}"/>

        <tr>
            <td>编码:</td>
            <td><input type="text" name="devCode" value="${dev_User.devCode}"/></td>
        </tr>
        <tr>
            <td>名称:</td>
            <td>
                <input type="text" id="devName" name="devName" value="${dev_User.devName}"/>
                <span style="color: red;"></span>
            </td>

        </tr>
        <tr>
            <td>密码:</td>
            <td><input type="text" name="devPassword" value="${dev_User.devPassword}"/></td>
        </tr>
        <tr>
            <td>邮箱:</td>
            <td><input type="text" name="devEmail" value="${dev_User.devEmail}"/></td>
        </tr>
        <tr>
            <td>信息:</td>
            <td><input type="text" name="devInfo" value="${dev_User.devInfo}"/></td>
        </tr>
        <tr>
            <td>创建者:</td>
            <td><input type="text" name="createBy" value="${dev_User.createBy}"/></td>
        </tr>
        <tr>
            <td>创建时间:</td>

            <td><input type="text" name="creationDate"  value="<fmt:formatDate value="${dev_User.creationDate}"/>"/></td>
        </tr>
        <tr>
            <td>修改者:</td>
            <td><input type="text" name="modifyBy" value="${dev_User.modifyBy}"/></td>
        </tr>

        <tr>
            <td colspan="2"><input type="submit" name="add" id="add"  value="修改"/></td>
        </tr>
    </table>
</form>
<input type="hidden" id="path" value="${pageContext.request.contextPath}">
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/add.js"></script>

</body>
</html>
